package com.luoyuanxiangvip.core.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.luoyuanxiangvip.core.entity.support.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * <p>
 * 喜欢文章
 * </p>
 *
 * @author luoyuanxiang <p>luoyuanxiangvip.com</p>
 * @since 2019-05-30
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@ApiModel(value = "BizArticleLove对象", description = "喜欢文章")
public class BizArticleLove extends BaseEntity {

    private static final long serialVersionUID = -5432999042086961488L;
    @ApiModelProperty(value = "文章id")
    private Long articleId;

    @ApiModelProperty(value = "IP")
    @TableField("IP")
    private String ip;

    @ApiModelProperty(value = "浏览时间")
    private Date lookTime;
}
